package com.nf.Tax;

public class TaxUtillmpl1 implements ITaxUtil{
//    private static final float Reat = 0.2f;
    private float rate;
    private float start;

    public void setRate(float rate) {
        this.rate = rate;
    }

    public void setStart(float start) {
        this.start = start;
    }

    @Override
    public float calaTax(float a) {
        return a*rate;
    }
}
